import request from '@/utils/request'
import $qs from 'qs'

export function synchronizationSql(data) {
  return request({
    url: '/synchronizationSql',
    method: 'post',
    data: $qs.stringify(data)
  })
}
export function updateLog(data) {
  return request({
    url: '/updateLog',
    method: 'post',
    data: $qs.stringify(data)
  })
}
export function licenseInformation(data) {
  return request({
    url: '/licenseInformation',
    method: 'post',
    data: $qs.stringify(data)
  })
}

export function updateFile(filters) {
  return request({
    url: '/updateFile',
    method: 'post',
    data: $qs.stringify(filters)
  })
}
export function sqlSynchronization(filters) {
  return request({
    url: '/sqlSynchronization',
    method: 'post',
    data: $qs.stringify(filters)
  })
}
export function querySql(filters) {
  return request({
    url: '/querySql',
    method: 'post',
    data: $qs.stringify(filters)
  })
}
export function getUpdateServerFileAll(filters) {
  return request({
    url: '/getUpdateServerFileAll',
    method: 'post',
    data: $qs.stringify(filters)
  })
}
export function upVersion(filters) {
  return request({
    url: '/upVersion',
    method: 'post',
    data: $qs.stringify(filters)
  })
}
export function dataMigration(filters) {
  return request({
    url: '/dataMigration',
    method: 'post',
    data: $qs.stringify(filters)
  })
}
export function filesMigration(filters) {
  return request({
    url: '/filesMigration',
    method: 'post',
    data: $qs.stringify(filters)
  })
}
export function beginFileMigration(filters) {
  return request({
    url: '/beginFileMigration',
    method: 'post',
    data: $qs.stringify(filters)
  })
}
export function backups(filters) {
  return request({
    url: '/backups',
    method: 'post',
    data: $qs.stringify(filters)
  })
}
export function getBackupsLists(filters) {
  return request({
    url: '/getBackupsLists',
    method: 'post',
    data: $qs.stringify(filters)
  })
}
export function versionRollBack(filters) {
  return request({
    url: '/versionRollBack',
    method: 'post',
    data: $qs.stringify(filters)
  })
}
export function delBackups(filters) {
  return request({
    url: '/delBackups',
    method: 'post',
    data: $qs.stringify(filters)
  })
}
export function ticketGet(filters) {
  return request({
    url: '/ticketGet',
    method: 'post',
    data: $qs.stringify(filters)
  })
}
export function ticketDetail(filters) {
  return request({
    url: '/ticketDetail',
    method: 'post',
    data: $qs.stringify(filters)
  })
}
export function ticketSave(filters) {
  return request({
    url: '/ticketSave',
    method: 'post',
    data: $qs.stringify(filters)
  })
}
export function ticketDelete(filters) {
  return request({
    url: '/ticketDelete',
    method: 'post',
    data: $qs.stringify(filters)
  })
}
export function ticketGoodsSave(filters) {
  return request({
    url: '/ticketGoodsSave',
    method: 'post',
    data: $qs.stringify(filters)
  })
}
export function ticketGoodsDelete(filters) {
  return request({
    url: '/ticketGoodsDelete',
    method: 'post',
    data: $qs.stringify(filters)
  })
}
export function ticketGoodsDetail(filters) {
  return request({
    url: '/ticketGoodsDetail',
    method: 'post',
    data: $qs.stringify(filters)
  })
}
export function ticketGoodsGet(filters) {
  return request({
    url: '/ticketGoodsGet',
    method: 'post',
    data: $qs.stringify(filters)
  })
}
export function getTicket(filters) {
  return request({
    url: '/getTicket',
    method: 'post',
    data: $qs.stringify(filters)
  })
}
export function CallbackUrl(filters) {
  return request({
    url: '/CallbackUrl',
    method: 'post',
    data: $qs.stringify(filters)
  })
}
export function otaGoodsList(filters) {
  return request({
    url: '/otaGoodsList',
    method: 'post',
    data: $qs.stringify(filters)
  })
}
